<!DOCTYPE html>
<html lang="en">

<head>
  <link rel="stylesheet" href="/h5/assets/uni.63e749df.css">

  <meta charset="UTF-8" />
  <script>
    var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') ||
      CSS.supports('top: constant(a)'))
    document.write(
      '<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' +
      (coverSupport ? ', viewport-fit=cover' : '') + '" />')
  </script>
  <title>hhm-h5</title>
  <!-- 微信JS-SDK 由 wechat-js-sdk.js 动态加载 -->
  <!-- vConsole 移动端调试工具 -->
  <script src="https://unpkg.com/vconsole@latest/dist/vconsole.min.js"></script>
  <script src="static/js/html2canvas.min.js"></script>
  <script>
      // 只在特定用户ID时启用vConsole
      (function () {
        function getUserId() {
          // 尝试从 sessionStorage 获取
          try {
            const sessionData = sessionStorage.getItem('hhm_h5_user_id');
            if (sessionData) {
              const userId = parseInt(sessionData);
              if (!isNaN(userId)) {
                console.log('[vConsole] 从 sessionStorage 获取到用户ID:', userId);
                return userId;
              }
            }
          } catch (e) {
            console.warn('[vConsole] 无法从 sessionStorage 获取用户ID:', e);
          }

          // 尝试从 localStorage 获取
          try {
            const localData = localStorage.getItem('hhm_h5_user_id');
            if (localData) {
              const userId = parseInt(localData);
              if (!isNaN(userId)) {
                console.log('[vConsole] 从 localStorage 获取到用户ID:', userId);
                return userId;
              }
            }
          } catch (e) {
            console.warn('[vConsole] 无法从 localStorage 获取用户ID:', e);
          }

          console.log('[vConsole] 未找到有效的用户ID');
          return null;
        }

        // 检查用户ID是否为 1375 或 89
        const userId = getUserId();
        console.log('[vConsole] 检测到的用户ID:', userId);

        if (userId === 1375 || userId === 89) {
          console.log('[vConsole] 用户ID为 ' + userId + '，加载 vConsole');
          new VConsole();
          console.log('[vConsole] vConsole 已加载');
        } else {
          console.log('[vConsole] 用户ID不是 1375/89，不加载 vConsole');
        }
      })();
  </script>
  <!--preload-links-->
  <!--app-context-->
  <script type="module" crossorigin src="/h5/assets/index.68SvddSS.js"></script>
  <link rel="stylesheet" crossorigin href="/h5/assets/index.D92kTOTp.css">
</head>

<body>
  <div id="app"><!--app-html--></div>
</body>

</html>